import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
public class Test {
    public static void main(String[] args) throws Exception {
        String endpoint = "http://localhost:8088/webservice/services/QueryOracle?wsdl";
        Service service = new Service();
        Call call = (Call) service.createCall();
        call.setTargetEndpointAddress(new java.net.URL (endpoint));
        call.setOperationName("TestService");
        String res=(String)call.invoke(new Object[]{});
      
        System.out.println("调用返回的结果:" + res);
//        if ( res != null && !"".equals(res)) {
//	        String[] rowsArr = res.split("\\|\\$");
//	        System.out.println(rowsArr.length);
//	        for (int i = 0; i < rowsArr.length; i++) {
//	        	String row = rowsArr[i];
//	        	
//	        	String[] colomnArr = row.split("\\|\\*");
//	        	System.out.println(colomnArr[0] + "  " + colomnArr[1] + "  " + colomnArr[2] + "  " + colomnArr[3]);
//	        }
//        }
//        
        
        
    }
}